#include "stdafx.h"
#include "Client.h"


Client::Client(void)
{
}


Client::~Client(void)
{
}

vector<Movie> Client::searchMovie(string movieName_)
{
	vector<Movie> searchedMovies;
	_db.connect();
	_db.searchFilm(movieName_);
	_db.close();
	return searchedMovies;
}

vector<Movie> Client::browseIndex(string index_)
{
	vector<Movie> IndexedMovies;
	_db.connect();
	_db.filter(index_);
	_db.close();
	return IndexedMovies;
}
